echo "=====start====="
if [ -n "$1" ] ;then
	echo 'date:' $1
	out07=hdfs://namenode:8020/spark/dx/$1/07.DxProStatistic
	out10=hdfs://namenode:8020/spark/dx/$1/10.DxSaleUser
	out14=hdfs://namenode:8020/spark/dx/$1/14.ALS
	#out15=hdfs://namenode:8020/spark/dx/$1/15.DxPro
	#car=hdfs://namenode:8020/spark/dataset/configData/car_type.txt
	
	#Spark:
	/spark/bin/spark-submit --class My --executor-memory 2G --executor-cores 1 --num-executors 9 --conf spark.default.parallelism=10 /spark-project/sparkjob-2.0.jar $out07 $out14
	#/spark/bin/spark-submit --class com.jida.spark.wz.protj15.proMain --executor-memory 2G --executor-cores 1 --num-executors 9 --conf spark.default.parallelism=10 /spark-project/sparkjob-1.0.jar $out07 $out10 $car $out15
else
	echo 'no parameter!'
fi
